<header id="daohang">
    <nav>
        <ul class="nav_left">
            <li class="logo"><a href="@{App.home}"><img src="/public/img/home/logo5.png"/></a></li>
            <li class="sousuokuang">
                <div class="yincagbufen">
                    <input type="search" name="search" id="autocomplete" value="" class="search" style="background-image: url(/public/img/home/u345.png);background-size: 30px 30px;background-repeat: no-repeat;background-position-x: 2px;background-position-y: 2px;"/>
                </div>
                <ul class="yincangbianqian">

                </ul>
            </li>
            <li class="qh"> <a href="@{App.home}">资料</a></li>
            
           <!-- <li class="qh"> <a href="dongTai.html">动态</a></li>
            <li class="qh"><a href="huaTi.html">话题</a></li>
            -->
        </ul>
        <ul class="nav_right">
            #{ifnot _user_}
            <li class="qh"> <a href="@{App.register}">注册</a></li>
            <li class="qh"> <a href="@{App.login}">登录</a></li>
            #{/ifnot}
            #{if _user_}
            <li class="anniu"><a href="@{App.compose}"><input type="button" id="" value="发布资料" class="fabubtn"/></a></li>

            <li class="userinfo">
                <a href="@{App.user(_user_.id)}">
                    <img src="/public/img/home/u333.png"/>
                    <span class="username">
                        ${_user_.nickname}
                    </span>
                    <div class="info">
                        <ul>
                            <a href="@{App.user(_user_.id)}"><li class="my">我的主页</li></a>
                            <a href="@{App.logout}"><li class="exit">退出登录</li></a>
                        </ul>
                    </div>
                </a>
            </li>
            #{/if}
        </ul>
    </nav>
</header>